#pragma once
#include "../core.h"
extern "C" {
#include "qrencode.h"
}
#include <QImage>

class S_CORE_EXPORT QRcodeImage {
 public:
  QRcodeImage(const QString& information, int version = 0);
  ~QRcodeImage();
  QImage* getImage() { return m_image; }

 private:
  QImage* m_image = nullptr;
};
